Don't save Xen heap pages during domain save
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 15 Jun 2010 12:18:09 +0000 (13:18 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 15 Jun 2010 12:18:09 +0000 (13:18 +0100)
commit3aff5e194857d587800365086290e349a1655e3d
tree432fb88e1c47821c56d211f26869965701a04f6c
parent11ca89db8514b1c1999dc8ef306e74f523ceb6a9
Don't save Xen heap pages during domain save

As discussed in the thread starting at
http://lists.xensource.com/archives/html/xen-devel/2010-05/msg01383.html,
don't save Xen heap pages in order to avoid overallocation when the
domain gets restored, as those pages would get (temporarily) backed
with normal RAM pages by the restore code.

This requires making DOMCTL_getpageframeinfo{2,3} usable for HVM
guests, meaning that the input to these must be treated as GMFNs.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
tools/libxc/xc_domain_save.c
xen/arch/x86/domctl.c